﻿<%template _header%>
<!--header end-->

<!--NtForumLocation start-->
<div id="foruminfo">
	<div class="userinfo">
		<h2><a href="{Config.WebsiteUrl}" class="home">{Config.WebsiteTitle}</a> <span><a href="{Config.WebsiteUrl}/Member/Manage.aspx">用户中心</a></span><strong>短消息设置</strong></h2>	</div>
	<div class="forumstats">
		<div id="search">
				<%template _quicksearch%>
		</div>
	</div>
</div>
<!--NtForumLocation end-->

<!--主体-->
<script type="text/javascript">
	function checkSetting()
	{
		if ($('receiveuser').checked)
		{
			$('showhint').disabled = false;
		}
		else
		{			
			$('showhint').checked = false;
			$('showhint').disabled = true;
		}
	}
</script>
<div class="controlpannel">
   <%template _memmenu%>
	<div class="pannelcontent">
		<div class="pcontent">
			<div class="panneldetail">
				<%template _mempmenu%>	
				<div class="pannelbody">
					<div class="pannellist">
					<%if ErrorCount==0%>
						<%if IsPost%>
							<%template _msgbox%>
						<%else%>
						<form action="" method="post" ID="postpmset">
						<label for="PmSound" class="labellong2" style="line-height:180%;">短消息提示音:</label>
							<select name="PmSound" id="PmSound">
							  <option value="0" 
							  <%if {PmSound}==0%>
							  selected="selected"
							  <%/if%>
							  >无</option>							  
							  <option value="1" 
							  <%if {PmSound}==1%>
							  selected="selected"
							  <%/if%>
							  >提示音1</option>							  
							  <option value="2" 
							  <%if {PmSound}==2%>
							  selected="selected"
							  <%/if%>
							  >提示音2</option>							  
							  <option value="3" 
							  <%if {PmSound}==3%>
							  selected="selected"
							  <%/if%>
							  >提示音3</option>			
							  <option value="4" 
							  <%if {PmSound}==4%>
							  selected="selected"
							  <%/if%>
							  >提示音4</option>			
							  <option value="5" 
							  <%if {PmSound}==5%>
							  selected="selected"
							  <%/if%>
							  >提示音5</option>
							  </select>
							<br/>
							<div class="compartline" style="margin-top:8px;">&nbsp;</div>
							<label for="receivesetting" class="labellong2" style="line-height:180%;">接收设置:</label>
							<input id="receiveuser" onclick="checkSetting();" type="checkbox" name="receivesetting" value="2" <%if {ReceivePmsetting}==2 || {ReceivePmsetting}==3%>checked="checked"<%/if%><%if {ReceivePmsetting}==6 || {ReceivePmsetting}==7%>checked="checked"<%/if%>/>接收用户短消息
							<input id="showhint" onclick="checkSetting();" type="checkbox" name="receivesetting" value="4" <%if  {ReceivePmsetting}==0%>disabled<%/if%><%if {ReceivePmsetting}==1 ||  {ReceivePmsetting}==5%>disabled<%/if%><%if {ReceivePmsetting}>4%>checked="checked"<%/if%>/>显示短消息提示框
							<br/>
							<div class="compartline" style="margin-top:8px;">&nbsp;</div>
							<input type="submit" name="Submit" value="确定" class="sbutton" ID="Submit1"/>
						</form>
						
						
						<%/if%>
					<%else%>
					<%template _memerrmsgbox%>
					<%/if%>
				  </div>
				</div>
			</div>
		</div>
	</div>
</div>
<!--主体-->
</div>
<%template _copyright%>
<%template _footer%>
